package dgut.haitaobao.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@TableName(value = "shopping_cart",autoResultMap = true)
@Data
public class ShoppingCart {
    @TableId(value = "cart_id",type = IdType.INPUT)
    private Integer cartId;

    @TableField(value = "product_id")
    private String productId;

    @TableField(value = "sku_id")
    private String skuId;

    @TableField(value = "user_id")
    private String userId;

    @TableField(value = "cart_num")
    private String cartNum;

    @TableField(value = "cart_time")
    private Date cartTime;

    @TableField(value = "product_price")
    private BigDecimal productPrice;

    @TableField(value = "sku_props")
    private String skuProps;

}
